package com.sangeng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sangeng.domain.ResponseResult;
import com.sangeng.domain.dto.AddUserDto;
import com.sangeng.domain.dto.UserDto;
import com.sangeng.domain.entity.User;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2024-08-16 21:16:01
 */
public interface UserService extends IService<User> {

    ResponseResult getUserInfo();

    ResponseResult putUserInfo(User user);

    ResponseResult register(UserDto userDto);

    ResponseResult getUserList(Long pageNum, Long pageSize, String userName, String phonenumber, String status);

    ResponseResult addUser(AddUserDto addUserDto);

    ResponseResult deleteUser(Long id);

    ResponseResult getUserById(Long id);

    ResponseResult updateUser(UserDto userDto);

    ResponseResult changeUserStatus(User user);
}
